folder name escape php

42

$escaped = preg_replace('/[^A-Za-z0-9_\-]/', '_', $raw);

Comments

Submit
0 Comments